#ifndef ENROLL_H
#define ENROLL_H

#include <QMainWindow>
#include<QPoint>
#include<QMouseEvent>


namespace Ui {
class Enroll;
}

class Enroll : public QMainWindow
{
    Q_OBJECT

public:
    explicit Enroll(QWidget *parent = nullptr);
    ~Enroll();

    bool isPressedWidget;
    QPoint last;
    void mousePressEvent(QMouseEvent *event);//鼠标点击
    void mouseMoveEvent(QMouseEvent *event);//鼠标移动
    void mouseReleaseEvent(QMouseEvent *event);//鼠标释放

    //注册提示
    void enrollment_tips(int a);



private slots:
    void on_enroll_clicked();

    void on_return_2_clicked();

private:
    Ui::Enroll *ui;
};

#endif // ENROLL_H
